package com.hn.wordmemo.user.service;

import com.hn.wordmemo.loginreg.dto.LoginDTO;
import com.hn.wordmemo.loginreg.dto.RegistrationDTO;
import com.hn.wordmemo.user.model.User;

public interface IUserService {

	RegistrationDTO registration(String username, String password);

	void logout(String username);

	LoginDTO login(String username, String password);
	
	void updateUser(User user);
	
	User getUserById(Integer userId);

	User getUserByUsername(String username);

	boolean existUser(String username);
}
